//文件上传服务层
app.service("SystemService",function($http){

    this.add=function (entity) {
        return $http.post('/system/add.do',entity)
    }


    this.update=function (entity) {
        return $http.post('/system/update.do',entity)
    }

    this.findAll=function(){
        return $http.get('/system/list.do');
    }

});
